package com.myhouse.entity;
//评论

import java.util.Date;
import java.util.List;
//消息
public class Message {

	private int id; 
	private User fromUser; 
	private User toUser;
	private Date createTime; //留言时间
	private String content; 
	private boolean isRead;  //是否读
	private boolean isDeletedByFormUser; //房主是否已删除评论（状态改成隐藏 float）
	private boolean isDeletedByToUser;   //用户是否能看评论（状态改成隐藏）
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}

	public User getFromUser() {
		return fromUser;
	}
	public void setFromUser(User fromUser) {
		this.fromUser = fromUser;
	}
	public User getToUser() {
		return toUser;
	}
	public void setToUser(User toUser) {
		this.toUser = toUser;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public boolean getIsRead() {
		return isRead;
	}
	public void setIsRead(boolean isRead) {
		this.isRead = isRead;
	}
	public boolean getIsDeletedByFormUser() {
		return isDeletedByFormUser;
	}
	public void setIsDeletedByFormUser(boolean isDeletedByFormUser) {
		this.isDeletedByFormUser = isDeletedByFormUser;
	}
	public boolean getIsDeletedByToUser() {
		return isDeletedByToUser;
	}
	public void setIsDeletedByToUser(boolean isDeletedByToUser) {
		this.isDeletedByToUser = isDeletedByToUser;
	}
	
	
	
}
